package com.hmall.mapper;

import com.hmall.model.MallAuctionItem;
import com.hmall.util.MyMapper;
import com.hmall.vo.MallAuctionItemVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface MallAuctionItemMapper extends MyMapper<MallAuctionItem> {
    List<MallAuctionItemVo> selectByPackageNo(@Param("packageNo") Long packageNo);

    MallAuctionItem selectByProduct(@Param("package_id") Integer package_id,@Param("product_id") Integer product_id,@Param("grade") String grade);
}